from django.contrib import admin
from models import *
# Register your models here.

@admin.register(BookInfo)
class BookInfoAdmin(admin.ModelAdmin):
    list_display = ['id', 'btitle', 'bpub_date']

# admin.site.register(BookInfo, BookInfoAdmin)

@admin.register(HeroInfo)
class HeroInfoAdmin(admin.ModelAdmin):
    list_display = ['id', 'hname', 'hcontent', 'book']
# admin.site.register(HeroInfo)
